import { NgModule, ModuleWithProviders } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';


import { AppSessionService } from '@shared/common/session/app-session.service';
import { AppAuthService } from '@shared/common/auth/app-auth.service';
import { AppLocalizationService } from '@shared/common/localization/app-localization.service';
import { AppRouteGuard } from '@shared/common/auth/auth-route-app-guard';
import { AbpMessage } from '@shared/common/abp-message/abp-message';


// import { DataTableModule, PaginatorModule } from 'primeng/primeng';

@NgModule({
  imports: [
    CommonModule,
    FormsModule
  ],
  declarations: [
  ],
  providers: [
    AppLocalizationService
  ]
})
export class AppCommonModule {
  static forRoot(): ModuleWithProviders {
    return {
      ngModule: AppCommonModule,
      providers: [
        AppSessionService,
        AppAuthService,
        AppRouteGuard,
        AbpMessage
      ]
    };
  }


}
